package md.mru.core.domains;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Table(name = "order_type_groups", schema = "c##mru_optimized")
public class OrderTypeGroup implements Serializable {

    private static final long serialVersionUID = -142583954718970978L;

    @Id
    private long id;

    @Column(name = "name", length = 150)
    private String name;

    @Column(name = "icon")
    private String icon;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }
}


